<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="修改GaussDB(DWS)配置文件">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="ZH-CN_TOPIC_0000001839142173">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>修改GaussDB(DWS)配置文件</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="ZH-CN_TOPIC_0000001839142173"></a><a name="ZH-CN_TOPIC_0000001839142173"></a>

<h1 class="topictitle1">修改GaussDB(DWS)配置文件</h1>
<div><div class="section"><h4 class="sectiontitle">操作步骤</h4><ol><li><span>登录GaussDB(DWS)节点。</span></li><li><span>执行以下命令进入配置文件目录。</span><p><pre class="screen">cd /opt/DataBackup/ProtectClient/Plugins/GeneralDBPlugin/bin/
applications/dws/</pre>
</p></li><li><span>执行<strong>vi dws.conf</strong>命令编辑配置文件，相关参数说明如<a href="#ZH-CN_TOPIC_0000001839142173__zh-cn_topic_0000001346641964_table196232217593">表1</a>所示。</span><p>
<div class="tablenoborder"><a name="ZH-CN_TOPIC_0000001839142173__zh-cn_topic_0000001346641964_table196232217593"></a><a name="zh-cn_topic_0000001346641964_table196232217593"></a><table cellpadding="4" cellspacing="0" summary="" id="ZH-CN_TOPIC_0000001839142173__zh-cn_topic_0000001346641964_table196232217593" frame="border" border="1" rules="all"><caption><b>表1 </b>GaussDB(DWS)配置文件参数</caption><colgroup><col style="width:25.03%"><col style="width:74.97%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="25.03%" id="mcps1.3.1.2.3.2.1.2.3.1.1"><p>参数</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="74.97%" id="mcps1.3.1.2.3.2.1.2.3.1.2"><p>说明</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="25.03%" headers="mcps1.3.1.2.3.2.1.2.3.1.1 "><p>deployType</p>
</td>
<td class="cellrowborder" valign="top" width="74.97%" headers="mcps1.3.1.2.3.2.1.2.3.1.2 "><p>GaussDB(DWS)部署的形态。</p>
<ul><li>0：GaussDB(DWS)集群部署在服务器宿主机。</li><li>1：GaussDB(DWS)集群部署在沙箱中。</li></ul>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="25.03%" headers="mcps1.3.1.2.3.2.1.2.3.1.1 "><p>loginSandboxIp</p>
</td>
<td class="cellrowborder" valign="top" width="74.97%" headers="mcps1.3.1.2.3.2.1.2.3.1.2 "><p>沙箱中GaussDB(DWS)部署使用的IP地址（仅适用于GaussDB(DWS)部署于沙箱中的场景）。</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="25.03%" headers="mcps1.3.1.2.3.2.1.2.3.1.1 "><p>sandboxPath</p>
</td>
<td class="cellrowborder" valign="top" width="74.97%" headers="mcps1.3.1.2.3.2.1.2.3.1.2 "><p>沙箱在主机中存放的路径（仅适用于GaussDB(DWS)部署于沙箱中的场景）。</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="25.03%" headers="mcps1.3.1.2.3.2.1.2.3.1.1 "><p>authmethod</p>
</td>
<td class="cellrowborder" valign="top" width="74.97%" headers="mcps1.3.1.2.3.2.1.2.3.1.2 "><p>客户端认证策略。</p>
<ul><li>trust：不验证密码。</li><li>reject：拒绝访问。</li><li>md5/sha256/cert：客户端证书认证。</li><li>gss：kerberos认证。</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</p></li></ol>
<p></p>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>